ClearKeyConfig

class ClearKeyConfig(entries: ClearKeyConfigEntry) : DrmConfig

Configures ClearKey key/value pairs to enable decryption of ClearKey protected content.

Constructors

ClearKeyConfig
Link copied to clipboard
fun ClearKeyConfig(key: String, kid: String? = null)
ClearKeyConfig
Link copied to clipboard
fun ClearKeyConfig(vararg entries: ClearKeyConfigEntry)

Properties

entries
Link copied to clipboard
val entries: Array<out ClearKeyConfigEntry>
The ClearKey key/value pairs.

Inherited properties

httpHeaders
Link copied to clipboard
var httpHeaders: MutableMap<String?, String?>? = null
A Map containing the HTTP request headers, or null
isLicenseRenewable
Link copied to clipboard
var isLicenseRenewable: Boolean = true
Indicates if the license is renewable.
licenseUrl
Link copied to clipboard
var licenseUrl: String?
Returns the license url.
shouldKeepDrmSessionsAlive
Link copied to clipboard
var shouldKeepDrmSessionsAlive: Boolean = false
Indicates if the DRM sessions should be kept alive after a source is unloaded.
uuid
Link copied to clipboard
var uuid: UUID
Returns the UUID.

Inherited functions

describeContents
Link copied to clipboard
open override fun describeContents(): Int
writeToParcel
Link copied to clipboard
open override fun writeToParcel(dest: Parcel, flags: Int)